import {Component, OnInit} from '@angular/core';
import {App} from "../../models/app";
import {AppProvider} from "../../providers/AppProvider";
import {User} from "../../models/user";

@Component({
  selector: 'app-signup',
  templateUrl: './signup.component.html',
  styleUrls: ['./signup.component.css']
})
export class SignupComponent implements OnInit {
  authError: string;
  app: App;
  agree: Boolean = false;
  user: User = {name: "", username: "", password: ""};

  constructor(public appProvider: AppProvider) {
    this.app = appProvider.config;
  }


  ngOnInit() {
  }

  signup() {
  }
}
